NH3/Ir(100): Electronic structure and dehydrogenation