Structural phase transition and electronic structure evolution in Ir1−xPtxTe2 studied by scanning tunneling microscopy