Dynamics of shear-induced orientation transitions in block copolymers