Ductile-to-brittle transitions in RC and PC beams: Scale effects on minimum and maximum reinforcements