The beta Pictoris system: Setting constraints on the planet and the disk structures at mid-IR wavelengths with NEAR