Polymeric materials for transient and soft electronic devices