Inflationary perturbations and precision cosmology