Condensate fraction and critical temperature of interacting Bose gas in anharmonic trap