Characterisation of an optical sensor membrane based on the metal ion indicator Pyrocatechol Violet