Beginning teachers' knowledge of and attitudes toward history and philosophy of science