Calculation of dopant solubilities and phase diagrams of X–Pb–Se (X = Br, Na) limited to defects with localized charge. Issue 9 (15th February 2016)