An explicit formulation of the transition matrix for formation flying manoeuvres in L2