Association between cannabis and violence in community-dwelling patients with severe mental disorders: a cross-sectional study using machine learning