Sum-Product Autoencoding: Encoding and Decoding Representations Using Sum-Product Networks