Liverpool manager Brendan Rodgers says Joe Cole's return to West Ham was the best move for both clubs.