U.S. to require railroads to notify states when oil is shipped