Direction-Dependent Polarised Primary Beams in Wide-Field Synthesis Imaging