Classical and quantum bicosmology with noncommutativity