Defining silica–water interfacial chemistry under nanoconfinement using lanthanides