Enhanced magnetoelectric effects in electrolyte-gated nanoporous metallic alloy and dense metal oxide films