Planetary nebulae with DENIS. Capabilities for imaging nebulae