Relationships between nonlinear normal modes and response to random inputs