Ab initio study of transport properties of an all-carbon molecular switch based on C20 molecule