Towards a science of science teaching cognitive development and curriculum demand