Influence of growth and preparation condition on the reconstruction of SiC(001) surfaces: a first principles study