Emergence of Goal-Directed Behaviors via Active Inference with Self-Prior