Lattice calculation of glueball matrix elements