Investigation of structure, properties and applications of bulk and nanoscale intermetallic compounds derived from AlB2-prototype