The potential of the inventory of learning styles to study students' learning patterns in three types of medical curricula