Ground-based coronagraphy: performance of a four-quadrant phase mask