Zero-divisor graphs of amalgamated duplication of a ring along an ideal