Laplace-transform technique for deriving thermodynamic equations from the classical microcanonical ensemble