Nadal pulls out of Brisbane International with thigh problem