Fractional Hardy inequality with a remainder term