First-principles study on mechanical properties of LaMg3 and LaCuMg2