A cage model of liquids supported by molecular-dynamics simulations .1. The cage variables