A dynamical model to study the academic un- derachievement in Spain: A epidemiological approach