Assessment of plastic rotation and applied load in reinforced concrete, steel and timber beams using image-based analysis