gl2genepop function

Converts a genlight object into genepop format (and file)