Local nuclear orientation using defect-induced electric field gradients in cubic lattices