Phases of $^4$He and H$_2$ adsorbed on a single carbon nanotube