Phase diagram studies on Er2PdSi3 and ErPd2Si2 intermetallic compounds