Estimating shear velocity and roughness length from velocity profiles