Preparation of Lignosulfonate-Based Carbon Foams by Pyrolysis and Their Use in the Microencapsulation of a Phase Change Material