Control of density and composition in an engineered two-member bacterial community