A Safety-Aware Kinodynamic Architecture for Human-Robot Collaboration