To type or to speak? The effect of input modality on text understanding during note-taking