The SDW-CDW phase transition and quantum fluctuations in the one dimensional extended Hubbard model