On meromorphic solutions of certain nonlinear differential equations