Synthesis, crystal structures and physical properties of two terephthalate-bridged copper(II) and nickel(II) complexes