Hydromagnetic effects on atmospheric tides