David Cameron says he takes full responsibility for hiring Andy Coulson shortly before his former press officer was arrested.