Scientists Show a Way to Create Optical Chips and Solar Cell Details from Perovskite