According to Kohlberg's theory of moral development, a child who follows hospital rules to avoid punishment is functioning at which level?