Intermetallic M Pt3 (M = Ti, Zr, Hf): Elastic, electronic, optical and thermal properties