Rafael Nadal wins seventh Barcelona title