Religious groups say their freedom of speech is threatened by move to protect the rights of sexual minorities