NMR study of the structural phase transition in lanthanum aluminate