Clustering dichotomously scored items through functional data analysis