Separatists in northern Mali have joined Islamic militants in a major coordinated attack on the Malian army.