An Event-centric Framework for Predicting Crime Hotspots with Flexible Time Intervals