Historical Inquiry: A Cognitivist Approach to Teaching History