Nonlinear absorption and refraction of binary and ternary alkaline and alkaline earth silicate glasses