Trends in the bonding of CO to the surfaces of Pt3M alloys (M=Ti, Co, and Sn)