Photospheric and coronal abundances in solar-type stars: the peculiar case of τ Bootis