Text this: Risk Assessment and Functional Safety Analysis to Design Safety Function of a Human-Cooperative Robot