Toll rises to 37 in Indian caste rioting