Ammonia Losses from Surface-Applied Nitrogen Fertilizer as Controlled by Soluble Calcium and Magnesium: General Theory1