Rockets part ways with Carmelo Anthony