Dependence of E-sporadic layer response on solar and geomagnetic activity variations from its ion composition