Comparison of simultaneous Na lidar and mesospheric nightglow temperature measurements and the effects of tides on the emission layer heights