Efficient calculation of van der Waals dispersion coefficients with time-dependent density functional theory in real time: Application to polycyclic aromatic hydrocarbons