Vibrations of potassium at Pt(111) and formation of KOH studied by electron energy-loss spectroscopy