Particle-number-projected Hartree–Fock–Bogoliubov study with effective shell model interactions