Effects of finite thickness on frictional and contact properties of viscoelastic bodies in sliding contact with randomly rough surfaces