Gamma rays from the Galactic center and the WMAP haze