A basic strategy for the thermal stability assessment of pharmaceutical synthetic intermediates and products