Optimal Control of Weakly Coupled Bilinear Systems