A negative feedback loop based on proton-driven in situ formation of plasmonic molybdenum oxide nanosheets.