Atomistic Explanation for Interlayer Charge Transfer in Metal-Semiconductor Nanocomposites : the Case of Silver and Anatase