Electrochemical preparation of poly(p-phenylene) and poly(naphthylene) films