is cash the basis of accounting recognizes income when it is earned and expenditures when they are incurred?