Tensor decompositions of higher-order correlations by nonlinear Hebbian plasticity