In a first-of-its-kind survey, the Globe asked hundreds of scientists about the impact of federal funding cuts.