Numerical optimization of a racing engine with variable intake and exhaust geometry and valve actuation