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