A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Models