Inflation and the large-scale structure of the universe