The phases and amplitudes of gravity waves propagating and dissipating in the thermosphere: Application to measurements over Alaska