The influence of tides on composition of the thermosphere