Towards optimization of urban planning and architectural parameters for energy use minimization in Mediterranean cities