Design and optimization of a composite rebar for the reinforcement of concrete