Format times in 12-hour style