At least 17 people have been killed and dozens more injured after two trains carrying hundreds of passengers collided in Pakistan's southern port city of Karachi, officials say.