Dynamic PET imaging with the generalized method of moments