Loblaw increases earnings, revenue in Q2