Establishing an epistemological base for science teaching in the light of contemporary notions of the nature of science and of how children learn science