Geometry and evolution of fold-thrust structures at the boundaries between frictional and ductile detachments ☆