Nanotube-confined Liquids: Water and Methanol