Stress Distributions in Plane Strain Layered Elastic Solids Subjected to Arbitrary Boundary Loading