Liquid and solid phases of water : an extensive molecular dynamics simulation with an ab initio polarizable potential