Bipartiteness Is in P