Cooling and Cooperative Coupling of Single Atoms in an Optical Cavity