Multiferroicity and magneto-electric effect in Gd2BaNiO5