Natural-Parameter Networks: A Class of Probabilistic Neural Networks