Nonlinear dynamics of a railway bogie