Sonic says profit margins are rising after Q2 net income jumps 32%