Electronic excitations of oligoacenes: A time dependent density functional theory study