States are flouting right to encrypted messaging: U.N. expert