A model for the simulation of the fate of nitrogen in farm wastes on land application