Tight-binding calculations of the electronic structure and magnetic properties in ordered TPt3 (T=Ti, V, Cr, Mn, Fe and Co) alloys