Topology and irreducibility of real algebraic varieties: deformations of real algebraic varieties in irreducible models