Denitrification in foraminifera has an ancient origin and is complemented by associated bacteria