THREE-DIMENSIONAL DISK–PLANET TORQUES IN A LOCALLY ISOTHERMAL DISK