Extreme star formation in the Milky Way: luminosity distributions of young stellar objects in W49A and W51. Issue 3 (7th March 2018)