Direct temperature and salinity acoustic full waveform inversion