The characterisation of lignin-rich residues and their valorisation as biosolvents and adsorbents