Pseudopotentials and localized molecular orbitals. Application to the methane molecule