Training Energy-Based Normalizing Flow with Score-Matching Objectives