REPtXcompounds with structures related to AlB2- and MgAgAs-type (RE= Y, Rare earth element;X= P, As, Sb)