Tuning conditions for the amine-functionalization of carbonyls formed in biobased polyfurfuryl alcohol.