Multi-output Polynomial Networks and Factorization Machines