The causes and implications of sex role diversity in shorebird breeding systems