Algorithmic and Human Teaching of Sequential Decision Tasks