Mass sensitive detection of carbon dioxide by amino group-functionalized polymers