Hochschild cohomology of Sullivan algebras and mapping spaces