Diedrich Coffee swings to profit in Q3