Autoencoders and Probabilistic Inference with Missing Data: An Exact Solution for The Factor Analysis Case