David Cameron has hit out at the EU pessimists who do not believe reform is possible