factors to be considered while granting anticipatory bail