Infrared spectroscopy of the charge ordering transition of Na0.5CoO2.