Self-heating process influence on efficiency of luminescence of nitride-based heterostructures