Theory-based diagnosis of fine-motor coordination development and deficiencies using handwriting tasks