Luminescence and transient absorption studies on bonding and mobility of nitrogen heterocycles on silica and alumina surfaces