Joining of semiconductor bodies for junction formation