Primal and Dual Variational Formulation of a Frictional Contact Problem