Harvey Weinstein granted right to appeal New York conviction