Vibrational recognition of hydrogen-bonded water networks on a metal surface