Dynamics of a double-stranded DNA segment in a shear flow