China has approved a sweeping new law which claims to help promote "ethnic unity" - but critics say it will further erode the rights of minority groups.