Dually responsive one dimensional photonic crystals with reversible color changes