Crystal structure and phase transition behavior of La1-xSrxGa1-yMgyO3-δ