Influence of the devitrification mechanism on second harmonic generation efficiency and transparency in Ba2NaNb5O15 nanostructures