Self-doped Mott insulator for parent compounds of nickelate superconductors