UK clothing retailer Next has booked a rise in full-year profits, but says prices are rising as a result of higher costs.