Normalizing Flow-Based Metric for Image Generation