Updated RETURN_TYPES to include amplitude and phase spectra. Modified image_spectrum function to return both amplitude and phase tensors.