The detection of liquids and viscoelastic substances trapped under solid surfaces