Controlling the alloy composition of PtNi nanocrystals using solid-state dewetting of bilayer films