The origin of the X-ray luminosity of the green pea galaxies: X-ray binaries or active galactic nuclei?