Obama, Castro vow cooperation amid stark rights differences