Competence-based learning in engineering mechanics in an adaptive online learning environment