Solar flares in the extreme ultraviolet