Quasiaccurately solvable quantum mechanics problems and the anharmonic oscillator problem