Eigenenergies of the r2+ lambda r2/(1+gr2) and 1/2(r2)-or+gr4/(1+g alpha r2) potentials obtained by the hypervirial method