Field-induced antiferroquadrupolar order in TbB2C2 observed by resonant X-ray scattering