Conditional Restricted Boltzmann Machines for Structured Output Prediction