Resistive wall mode and neoclassical tearing mode coupling in rotating tokamak plasmas