Particle physics models of inflation and the cosmological density perturbation