Atom Trapping and Spectroscopy in Cavity-Generated Optical Potentials.