Electron transport through a mesoscopic metal-CDW-metal junction