Pelicans agree to trade with Kings for Cousins