Strict error bounds for linear and nonlinear solid mechanics problems using a patch-based flux-free method