Smith sets new NCAA, American record in 500 freestyle