Teaching scientific thinking to gifted children