Strain‐Based In Situ Study of Anion and Cation Insertion into Porous Carbon Electrodes with Different Pore Sizes