Electronic structure, diffusion, and p-doping at the Au/F16CuPc interface