Cation-mediated interaction and weak ferromagnetism in Fe3O2BO3