XMM-Newton Archival Study of the Ultraluminous X-Ray Population in Nearby Galaxies