Spectrum of continuous x-ray emission from a laser plasma and deviations of the electron distribution function from Maxwellian form