Superconducting and electrical properties of rhenium nitride and amorphous rhenium prepared by ion implantation