Dual-wavelength metasurface for complete phase and amplitude modulation