Quadratic Life Span of Periodic Gravity-capillary Water Waves