Compounds of general formulae IIb and IIc may be prepared from compounds of general formulae IIa and IId respectively, as shown in FIG. 2, by reaction with a compound of the general formula HO(CH2)p L, wherein p is defined as for general formulae Ia an Ib and L represents Z, or a leaving group, for example a halogen atom such as bromine.