Theoretical study of hydrogen adsorption on the GaN(0001) surface