From Variational to Deterministic Autoencoders