The magnetic susceptibilities of cobaltocene and chromocene