Modeling photovoltaic performance in periodic patterned colloidal quantum dot solar cells