Probing atmospheric electric fields in thunderstorms through radio emission from cosmic-ray-induced air showers