Efficient mapping of phase diagrams with conditional normalizing flows