Thermal pretreatment of microalgae for biomethane production: experimental studies, kinetics and energy analysis