Mid-infrared Er:CaF2–SrF2 bulk laser Q-switched by MXene Ti3C2Tx absorber