Australian grocer Metcash has posted rising half-year profits thanks to sales growth across the business.