Mind-theoretic planning for social robots