At least 74 people were injured after a train derailed in Uttar Pradesh, the second train accident in the northern Indian state in the last three days.