The semisimple conjugacy classes of finite groups of lie type E6 and E7