Bounds on precipitate hardening of line and surface defects in solids