Vidya, Veda, and Varna: The influence of religion and caste on education in rural India