Interactions of foreign interstitial and substitutional atoms in bcc iron from ab initio calculations