At least 27 dead in Baghdad mosque blasts