Anticipating Human Activities Using Object Affordances for Reactive Robotic Response