Satellite and rocket studies of relativistic electrons and their influence on the middle atmosphere