Syn-anti conformation switching of a bis-porphyrin derivative at the air-water interface and in the solid state as an effective tool for chemical sensing