Capture of carbon dioxide from flue gases by amine-functionalized TiO2 nanotubes