Cameron says Britain has won allies on EU reform