Fracture Mechanics in Layered and Graded Solids: Analysis Using Boundary Element Methods