Cooling and trapping of potassium