Cavity formation and preferential interactions in urea solutions: Dependence on urea aggregation