how to calculate duration of a balance sheet