Search for anomalous production of diphoton events with missing transverse energy at CDF and limits on gauge-mediated supersymmetry-breaking models