Reversible switching of an optical gate based on Si rib waveguides with a Ge2Sb2Te5 thin film