Obama tries to limit fallout from British EU exit vote