Energy and exergy analysis of ground thermal energy storage: optimal charging time in different operating conditions