Mexican midfielder Luis Montes and Ecuador's Segundo Castillo both suffered serious injuries that have ended their World Cup run.