Metal-insulator transitions, superconductivity, and magnetism in the two-band Hubbard model