Cancer risk may rise before and after diabetes diagnosis: Study