The Effects of a Mathematics Course on Candidates’ Beliefs About Learning and Teaching Mathematics