Trump cuts threaten a ‘generation of scientists’ as many weigh leaving US