The origin of the cult of Apollo