Generative Modeling and Inverse Imaging of Cardiac Transmembrane Potential