ESO, Batxillerat i Cicles Formatius