Effects of substitution and functionalization on the electronic, optical, and transport properties of polycyclic aromatic hydrocarbons