An underactuated mechanical hand: Theoretical studies and prototyping