Metasurfaces characterization by quantitative phase imaging with SID4 wavefront sensor