Determination of properties of viscoelastic materials by nanoindentation