Calculation of spin densities in diatomic first‐row hydrides