Response of periodic structures due to moving loads