Strain-tunable optical valves at T-junction waveguides in photonic crystals