An overnight storm has lit up skies across the UAE, as warnings have been issued for rain, hail, thunderstorms and flooding.