Jointly Discriminative and Generative Recurrent Neural Networks for Learning from fMRI