Solid-state electrochemistry and energy storage devices