Structure-phase behavior-performance relationships in non-fullerene acceptor based organic solar cells: insight from thermal and spectroscopic characterization