Resonant X-ray magnetic diffraction experiments on SmB2C2