SurroFlow: A Flow-Based Surrogate Model for Parameter Space Exploration and Uncertainty Quantification