Structural behaviour and optimization of moment-shaped reinforced concrete beams