Darcy-Weisbach friction factor at the nanoscale: From atomistic calculations to continuum models