Modeling coupled electrochemical and mechanical behavior of soft ionic materials and ionotronic devices