Text this: Nanophotonic design of grating perovskite solar cell.