Target thickness dependence of build-up bremsstrahlung accompanying β decay of 99Tc and 204Tl