Proposal for the development of transversal competences in the degree of pedagogy. A case study