Effects of donor and acceptor on optoelectronic performance for porphyrin derivatives: Nonlinear optical properties and dye-sensitized solar cells