Dual field effects in electrolyte-gated spinel ferrite: electrostatic carrier doping and redox reactions