"(a) No temporary restraining order or temporary injunction shall be granted except upon the giving of security by the applicant, in such sum as the court deems proper, for the payment of such costs and damages as may be incurred or suffered by any party who is found to have been wrongfully enjoined or restrained." . . . . .