Structure of liquid and glassy methanol confined in cylindrical pores.