China and Australia have traded accusations over an incident Australia said involved a Chinese jet releasing flares.