Calculation of hadron yields around thick targets and doses behind concrete shielding of high-energy electron accelerators