Random vibration of linear and nonlinear structural systems with singular matrices: A frequency domain approach