Spin density calculations for two electron-acceptor constituents of molecular magnets: tetracyanoethylene and hexacyanobutadiene