Cognitive and Affective Components of Creativity in Mathematics and the Physical Sciences