On the regularity of the capillary-gravity flow map of the water wave problem