The intracluster magnetic field in the double relic galaxy cluster Abell 2345