Collective electromagnetic emission from molecular layers on metal nanostructures mediated by surface plasmons