Applications of Boundary Effect Model to Quasi-Brittle Fracture of Concrete and Rock