Transport properties of a binary gas mixture of molecules with internal energy. I. Shear and volume viscosities