Retrieving the full optical response from amplitude data by Hilbert transform