Wave impedances of drill strings and other periodic media.