Resource Allocation with Carrier Aggregation for Spectrum Sharing in Cellular Networks