Structural, optical, magnetic, and electrical properties of nanospinels containing different molar ratios of cobalt and aluminum ions