Spectroscopy of twelve Type Ia supernovae at intermediate redshift