Prediction of total intake of dry matter and net energy in a lactation.