From laser cooling to Bose-Einstein condensation