Energy transfer in surface enhanced luminescence