Numerical Solution of the Obstacle Problem by the Penalty Method Part II . Time-Dependent Problems