Core-level spectra and molecular deformation in adsorption : V-shaped pentacene on Al(001)