Hundreds of protesters have been arrested in India after mass demonstrations over the rape and murder of a doctor.