Boundary terms in the action for the Regge calculus