average cost to repair leaking roof