Design and analysis of selectively compliant underactuated robotic hands