Study of variational inequality and equality formulations for elastostatic frictional contact problems