SpearBot: A Spear Phishing Email Generation Framework through Large Language Models with Critique-Based Optimization