General theory of angular correlations of successively decaying particles