Structural and electronic properties of graphite layers grown on SiC(0001)