Cofnod E-bost: Real time fire and smoke detection using vision transformers and spatiotemporal learning