Harvey Weinstein has pleaded not guilty to rape and criminal sexual act charges at a court hearing in New York.