Religion, Science, and Empire: Classifying Hinduism and Islam in British India