A generic method to analyse yield gaps in feed-crop livestock systems (PhD thesis)