An analytical and numerical investigation of generation of high order optical harmonics as a result of the interaction of intense laser pulses with solid surfaces gaseous medium