Contact between a pin and a plate with a hole under interference-fit and clearance-fit conditions