Human and machine diagnosis of scientific problem‐solving abilities