Spin state transition and giant dielectric constant in Pr0.987Na0.013CoO3