Hierarchical vision transformers for RFI mitigation in radio astronomy