Cross-regulated assembly of a two-component copolymer determines bacterial cell curvature