Factorial and validational study of the abilities involved in learning chemistry at the secondary stage