Transmission of topological surface states through surface barriers