Alvaro Negredo and Santi Cazorla both got on the scoresheet as Spain comfortably overcame Ecuador in an international friendly in Guayaquil.