Breaking chiral symmetry in QED with external electromagnetic fields