Electric field distribution and flashover of insulating structures