Meteorites and the origin of planets