Australian food retailer Woolworths has posted a 17% rise in first-half profit, helped by cost cuts and higher sales.