Calculation and spectroscopic assignment of charge-transfer states in solid anthracene, tetracene and pentacene