Laser cooling of rubidium atoms in a vapor cell