High-pressure behavior of Fe3P and the role of phosphorus in planetary cores