A major emergency response is underway after carriages came off the track at Lewes, near the seaside town of Brighton.