From Ce(IO3)4 to CeF2(IO3)2: fluorinated homovalent substitution simultaneously enhances SHG response and bandgap for mid-infrared nonlinear optics