Adsorption and Phase Behaviour in Nanochannels and Nanotubes