Ion exchange effect on the structural and mechanical behavior of colored glasses