Insights into the Thermally Activated Cyclization Mechanism in a Linear Phenylalanine-Alanine Dipeptide