FN: A criterion for rating powder diffraction patterns and evaluating the reliability of powder-pattern indexing