Siphon flows in coronal loops: I. Adiabatic flow