Kings, Pelicans agree to DeMarcus Cousins trade, sources say