Search for heavy long-lived particles that decay to photons at CDF II