Analysis and design of reinforced concrete structures as a topology optimization problem