Entanglement and correlation functions following a local quench: a conformal field theory approach