Quantum-inspired optimization of transformer–capsule networks for accurate brain tumor segmentation and classification | Synapse