Closed forms for the matrix elements of the quadrupole collective operators