Equivalence between massless neutrinos and lepton number conservation in fermionic singlet extensions of the Standard Model