Optimizing Solar Cell Performance by Simultaneous Consideration of Grid Pattern Design and Interconnect Configurations