Search for a Higgs boson in the diphoton final state using the full CDF data set from collisions at root s=1.96 TeV