Ab initio description of electron transport through nanoscale systems