Elastic interactions of screw dislocations in thin films on substrates