Viscoelastic effects in nanometer‐scale contacts under shear