Towards lignin valorization : pyrolytic and electrochemical upgrading of lignins extracted from pretreated biomass to valuable intermediates