Modelling and analysis of two-dimensional warranty policies