Polyoxometalates as pH-sensitive probes in self-assembled multilayers.