Decomposition theorems for measures