Role of stable and metastable Mg–H complexes in p-type GaN for cw blue laser diodes