A rapid acid vapor detector based on spiropyran-polymer composite