An Application of Direct Ritz Method for Random Seismic Responses of Jacket Platforms