Second phases in doped lanthanum gallate perovskites