Static and dynamic critical properties of the quasi-two-dimensional antiferromagnet MnPS3