Galaxy spectral parametrization in the 2dF Galaxy Redshift Survey as a diagnostic of star formation history