Time-optimal steering of an object moving in a viscous medium to a desired phase state☆