Rail leaders 'optimistic' about hitting train safety deadlines after federal warnings