Hydroxyapatite nanoparticles/polyimide-coated platinum electrodes for improved heat-insulating and heavy metal ion diffusion properties