Fluid and solid phases of the Gaussian core model