CFTC appoints John P. Riley as director of legislative affairs