Magnetic properties and 155Gd Mossbauer effect in GdCu2 and its ternary hydride