Sri Lanka's Tamil Tiger rebels have declared a unilateral ceasefire but the country's defence chef has rejected it as a "joke".