Comprehensive Investigation of the Thermal Degradation Characteristics of Biodiesel and Its Feedstock Oil through TGA–FTIR