BL Lacertae: Complex spectral variability and rapid synchrotron flare detected with BeppoSAX