Religious groups increasingly support LGBTQ rights, new study shows