Dielectric Metasurfaces for Complete and Independent Control of the Optical Amplitude andPhase