Bilinear modelling of batch processes. Part I: theoretical discussion