A Unified Framework for Human-Robot Knowledge Transfer