Prime Minister David Cameron says he would not have employed Andy Coulson if he had known more about the phone hacking scandal.