Efficient and principled robot learning: Theory and algorithms