A framework for player movement analysis in team sports