Layout optimization of wave energy converter arrays consisting of floating truncated cylinders with five degrees of freedom in regular and irregular waves