A judge in northern India has sentenced the leader of a popular sect to 20 years in prison for raping two of his female followers.