Dollar gains for fifth straight session on solid labor data