Electrical, optical and structural properties of the organic semiconductor thin films-PbPc, ZnPc and MgPc