In situ electrical transport measurements and self-organization in gold nanoparticle films during and after deposition