Submillimetre flux as a probe of molecular ISM mass in high-z galaxies