Teacher training and professionalisation in Brazil: between educational inequalities and equal opportunities