An adiabatic transport of Bose-Einstein condensates in double-well traps