Real-Time Retrieval of Similar Videos with Application to Computer-Aided Retinal Surgery