A characterization of approximately controllable linear stochastic differential equations