People with tattoos are at a heightened risk of skin and blood cancer, new research suggests.