Yemeni authorities have blamed the Islamic State group for an attack on a care home run by missionaries that killed 16 people and was condemned by Pope Francis as "diabolical".