Two-dimensional motion of Brownian swimmers in linear flows