Bidirectional Recurrent Neural Networks as Generative Models