Efficacy of an educational intervention on students' attitudes regarding spirituality in healthcare: a cohort study in the USA