JK Rowling invented Quidditch to ‘annoy men’ after row with ex boyfriend