Connections using shape memory materials