Issues of competence formation in improving the quality of education