Comparison of Core-Level Binding Energy Shifts in Molecules with Predictions Based on Koopmans' Theorem