Factors driving undergraduate students’ choice of a college major and perceptions about teaching as a career choice