Studies on crystallization and thermal expansion in certain ternary aluminosilicate and borosilicate glasses