Investigation of the optimal material type and dimension for spallation targets using simulation methods