Real options model to evaluate infrastructure flexibility: an application to photovoltaic technology