Explain the difference between cash-basis and accrual-basis accounting, and how they impact financial reporting.