Phase coded profilometry based on frequency mixing