Structure and electronic properties of Fe nanostructures on MgO(001)