Laser cooling and photoionization of alkali atoms