Koopman–von Neumann approach to quantum simulation of nonlinear classical dynamics