Study of the TESLA preaccelerator for the polarised electron beam