Development of pH-sensitive indicator dyes for the preparation of micro-patterned optical sensor layers