Structure of the energy levels of some light nuclei from a study of one and two nucleon transfer reactions induced by 23 MeV deuterons