Stationary scattering theory for unitary operators with an application to quantum walks