Measuring intrinsic thickness of rough membranes: application to nanofibrillated cellulose films