Analysis and modelling of the relation between the shear rate and Reynolds stress tensors in transitional boundary layers