Tunable thermal and flame response of phosphonated oligoallylamines layer by layer assemblies on cotton.