Authorities in India's state of Uttar Pradesh have arrested four people after two girls were found raped and hung from a tree outside a village.