Rocking of rigid block on nonlinear flexible foundation