Scott Chilton retired as chief constable of Hampshire and Isle of Wight Constabulary after the police watchdog said it was investigating alleged gross misconduct.