Recent developments and benchmarking of the PHITS code