Emission line galaxies and active galactic nuclei in WINGS clusters