Stock Exchange profit tops £34m