Solving Forward and Inverse Problems of Contact Mechanics using Physics-Informed Neural Networks