Bi-level Score Matching for Learning Energy-based Latent Variable Models