Sum-Product-Transform Networks: Exploiting Symmetries using Invertible Transformations