Survey shows Republicans have less confidence in scientific community and medicine compared to Democrats, with former less likely to be vaccinated