The United Nations Special Rapporteur on freedom of religion or belief has censured the Bahraini government for discriminating against the country's Shia majority.