Birkhoff Normal Form and Long Time Existence for Periodic Gravity Water Waves