Modular invariance, tauberian theorems and microcanonical entropy