Study suggests religion can help the faithful deal with discrimination, can also result in exploitation or encourage victimhood