Generalised Miller–Morita–Mumford classes for block bundles and topological bundles