Mechanical instability of electrode-electrolyte interfaces in solid-state batteries