Measurement sharpness cuts nonlocality and contextuality in every physical theory