Text this: Structural, optical and lasing properties of the neodymium and magnesium codoped lithium niobate crystal