Cause and effect in the weathering of plastics