The glass transition of organic liquids confined to small pores