what is due diligence in a mortgage