Gluonic spin structure of hadrons and nuclei