Environmental impact of agricultural nitrogen and phosphorus use