Self-consistency and pairing as causes for the energy gap in the nuclei 56Fe, 72Ge and 78Se