The Gradient of Dynamic Mechanical Characteristics across the Thickness of Epoxy Polymers during Environmental Exposure