Emission of massive scalar fields by a higher-dimensional rotating black hole