Human-Aware Motion Planning for Safe Human-Robot Collaboration