Proven procedure for monitoring the composition of mixed municipal waste and the purity of sorted waste