Dependence of the ionization energy of shallow donors and acceptors in silicon on the host isotopic mass