Joshua defeats Jermaine Franklin to claim first win in over two years