Recombination dynamics of excitons in III-nitride layers and quantum wells