A decomposition theory for unitary representations of locally compact groups