ROSAT PSPC observations of the early-type galaxies NGC 507 and NGC 499: Central cooling and mass determination