On Hoyle's theory of the origin of the solar system