RNA structure and the mechanisms of alternative splicing