US spymaster warns of religious violence ahead of Indian elections