Detailed study of the effect of a short prepulse on soft X-ray spectra generated by a high-intensity KrF* laser pulse