Brian Cox criticises "mistreatment" of JK Rowling