Court rejects Polanski bid to have child sex charges dismissed