Elastic, magnetic and electronic properties of iridium phosphide Ir2P