Connecting between different semiconductor or solid-state bodies