On factors controlling the concentrations of platinum group elements in layered intrusions and chromitites