A man has been arrested after allegedly setting two fires in the western German city of Essen that left 30 people injured, and driving a van into two shops, authorities have said.