Preparation of ozone by electrical discharge