Computerized Block Games for Automated Cognitive Assessment: Development and Evaluation Study