X(3872) in an unquenched quark model