Optical Wigner distribution and ambiguity function for complex signals and images