Thickness Measurement of Polyethylene Foam by Light Attenuation