A theoretical investigation of excited state acidity of phenol and cyanophenols