Turkey extends police powers, shuts schools and charities