Calculation of energy eigenvalues for two-dimensional anharmonic oscillators