UN experts have condemned police crackdowns, warning they deter demonstrators from exercising their rights.