Direct numerical simulation of flow past a transversely rotating sphere up to a Reynolds number of 300 in compressible flow