Atomic structure calculations for epitaxy of c-BN on Si(001)