An alternative method for transient and random responses of structures subject to support motions