Thermodynamic phase structure of complex Sachdev-Ye-Kitaev model and charged black hole in deformed JT gravity