Measurement of R and search for the top quark in e + e - annihilation between 39.8 and 45.2 GeV