Charge transport, trapping and electroluminescence in erbium doped a-Si:H/n-Si light-emitting heterodiodes