Item response theory and its applications in educational measurement Part I: Item response theory and its implementation in R