Ferroelectric-like hysteresis loops induced by chemical reaction and flexoelectricity in electrochemical strain microscopy measurements