Purification of liquid scintillator and Monte Carlo simulations of relevant internal backgrounds in SNO+