Unlock: A Python-based framework for rapid development of practical brain-computer interface applications