Elastoresistance of iron-based superconductors