Rescuers work overnight searching for survivors after a passenger train derailed in India's northern Uttar Pradesh state, killing at least 23.