The Ultraviolet to Near-Infrared Optical Properties of Polycyclic Aromatic Hydrocarbons: A Semiempirical Model