An ab initio study of the structures of ethylidene