A fatal salmonella outbreak that has hit the UK and Germany has been linked to the consumption of watermelon, health officials have said.