Production of a cold atomic vapor using diode-laser cooling