Nadal wins second U.S. Open title