Costructal design applied to the geometric optimization of y-shaped cavities embedded in a conducting medium