U.S. passes legislation to protect sharks