A social media event detection framework based on transformers and swarm optimization for public notification of crises and emergency management