The 2-10 keV unabsorbed luminosity function of AGN from the LSS, CDFS, and COSMOS surveys