Israeli supermarket chain Super-Sol has reported a second-quarter profit, compared to a year-earlier loss.