Measurement of stress distribution in sandwich beams under four-point bending