The Braginskii model of the Rayleigh–Taylor instability. I. Effects of self-generated magnetic fields and thermal conduction in two dimensions