Molecular gap and energy level diagram for pentacene adsorbed on filled d-band metal surfaces